package com.abigdreamer.im.server.DB.pojo;

/**
 * 
 * 创建其语句如下：
 * 
 * CREATE VIEW `enterpriseim`.`teaminfo_view` AS
 * SELECT distinct team.id as teamid,
 * team.owerID as owerid,
 * team.teammember as teammemberid,
 * teamname.name as teamname
 * FROM team,teamname where team.id=teamname.id;
 * 
 */
public class TeamMap {

	private int teamid;
	private int owerid;
	private int teammemberid;
	private String teamname;
	
	public int getTeamid() {
		return teamid;
	}
	public void setTeamid(int teamid) {
		this.teamid = teamid;
	}
	public int getOwerid() {
		return owerid;
	}
	public void setOwerid(int owerid) {
		this.owerid = owerid;
	}
	public int getTeammemberid() {
		return teammemberid;
	}
	public void setTeammemberid(int teammemberid) {
		this.teammemberid = teammemberid;
	}
	public String getTeamname() {
		return teamname;
	}
	public void setTeamname(String teamname) {
		this.teamname = teamname;
	}
}
